#include "Stack.h"

int main()
{
	ST st;
	STInit(&st);
	STpush(&st, 1);
	STpush(&st, 2);
	STpush(&st, 3);
	STpush(&st, 4);
	STpush(&st, 5);
	STpush(&st, 6);

	while (STEmpty(&st))
	{
		printf("%d ", STTop(&st));
		STpop(&st);
	}


	return 0;
}
